package com.lucy.management.api;

import com.lucy.management.domain.CmsSite;
import com.lucy.management.utils.AjaxResult;
import io.swagger.annotations.Api;

import io.swagger.annotations.ApiOperation;

import java.util.List;
import java.util.Map;

@Api(tags = "站点接口")
public interface CmsSiteControllerApi {
    @ApiOperation("获取站点分页")
    AjaxResult getSiteList(int page, int size, Map map);

    @ApiOperation("根据id查询站点")
    AjaxResult getSite(String id);

    @ApiOperation("保存站点")
    AjaxResult saveSite(CmsSite cmsSite);

    @ApiOperation("删除站点")
    AjaxResult deleteSite(List<String> ids);
}
